package com.miplus.ccrm.core.service.strategy;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.strategy.*;
import com.miplus.ccrm.core.pojo.CfgActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.miplus.ccrm.core.pojo.CfgRuleTaskSteps;

import java.util.List;

/**
* @author pc
* @description 针对表【cfg_activity(自动分案管理表)】的数据库操作Service
* @createDate 2024-03-22 17:43:40
*/
public interface CfgActivityService extends IService<CfgActivity> {

    IPage<ActivityResVo> cfgActivityList(ActivityReqVo paras);

    CmdResVo cfgActivityUpdate(String $usrid, ActivityEditVo paras);

    CmdResVo cfgActivityInsert(String $usrid,ActivityEditVo paras);

    CmdResVo cfgActivityDelete(int id);

    CmdResVo upCfgActivity(int activityid);

    CmdResVo downCfgActivity(int activityid);

    IPage<ActOGrpLinkResVo> activityOutGrpList(ActOGrpLinkReqVo paras);

    List<ActExecDayVo> getActivityExecDay(Integer activityid);

    CmdResVo distribute(String usrId, CfgRuleTaskSteps cfgRuleTaskSteps, CfgActivity cfgActivity,String sql);
}
